package com.goods.business.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;

import java.util.List;

public interface BusinessService {
    List<ProductCategoryTreeNodeVO> categoryTree();

    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    ProductCategory edit(Long id);

    void update(ProductCategory productCategory);

    Boolean delete(Long id);

    boolean add(ProductCategory productCategory);

}
